home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Plus Special 24
/
AMIGAplus Sonderheft 24 (2000)(Falke)(DE)[!].iso
/
Rexx
/
_0_new_mailpacket.rexx
next >
Wrap
OS/2 REXX Batch file
|
1999-11-06
|
672b
|
36 lines
/* YAMandPGP V1.0 -- Roberto Ragusa 1997 */
/* new mailpacket */
windowfilename = 'CON:50/50/600/200/YAM-REXX/CLOSE'
plain_mail_txt = 'All is attached...'
CALL CLOSE 'STDOUT'
CALL CLOSE 'STDIN'
CALL OPEN 'STDIN',windowfilename
CALL PRAGMA '*','STDIN'
CALL OPEN 'STDOUT','*'
options results
address command
call pragma('D','MAILPACKETS:')
'delete >nil: newmessage/attachment/#? all force'
'delete >nil: newmessage/~(attachment) all force'
call pragma('D','newmessage')
'echo >plain_mail.txt "'||plain_mail_txt||'"'
'echo >>plain_mail.txt ""'
call pragma('D','attachment')
'echo >mail.txt "write here!"'
address YAM
'Request "Prepare your mail in Mnew:" "OK"'